/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upn.sigemfi.vfi.be;

import java.io.Serializable;

/**
 *
 * @author Alex
 */
public class ccaja implements Serializable {

    private String moneda;
    private String saldo;

    public ccaja() {
    }

    public ccaja(String moneda, String saldoCaja) {
        this.moneda = moneda;
        this.saldo = saldoCaja;
    }

    public String getMoneda() {
        return moneda;
    }

    public void setMoneda(String moneda) {
        this.moneda = moneda;
    }

    public String getSaldo() {
        return saldo;
    }

    public void setSaldo(String saldo) {
        this.saldo = saldo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ccaja other = (ccaja) obj;
        if ((this.moneda == null) ? (other.moneda != null) : !this.moneda.equals(other.moneda)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 73 * hash + (this.moneda != null ? this.moneda.hashCode() : 0);
        return hash;
    }
}
